﻿using System;
using System.Collections.Generic;

namespace YummyGame.Framework
{
    public class ActionBuilder_dmg : ActionBuilder
    {
        public override SkillActionPrototype Build(SkillDescriptorField field)
        {
            SkillActionPrototype_dmg dmg = Pools.GetSkillPrototype<SkillActionPrototype_dmg>().Get();
            dmg.value = ParseExpression(field, SkillKeyword.effect_dmg_value);
            return dmg;
        }
    }
}
